package com.example.mybatisplusclass2.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.mybatisplusclass2.entity.Product;
import com.example.mybatisplusclass2.mapper.ProductMapper;
import com.example.mybatisplusclass2.service.IProductService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author liu
 * @since 2024-06-11 14:07:25
 */
@Service
public class ProductServiceImpl extends ServiceImpl<ProductMapper, Product> implements IProductService {

    @Override
    public List<Product> getAll() {
        return this.baseMapper.getAll();
    }
}
